/*
 * @Description: 全局组件
 */

import form_editor from "@/components/diy/form_editor.vue";
import baseTable from "@/components/baseTable/baseTable.vue";
import ExportButton from "@/components/common/ExportButton.vue";
// import list_module from "@/components/diy/list_module.vue";


import * as icons from '@element-plus/icons-vue'
// import {ElMessageBox} from '@element-plus/icons-vue'
export default {
  install(app) {
    Object.keys(icons).forEach((key) => {
      app.component(key, icons[key])
    })
    app.component('form_editor', form_editor)
    // app.component('diyLog', diyLog)
    app.component('baseTable', baseTable)
    app.component('ExportButton', ExportButton)


    // baseTable 公共组件
    // app.component('ComSelect', ComSelect)
    // app.component('TimeSelect', TimeSelect)
    // app.component('EnumSelect', EnumSelect)
    // app.component('CustomSearch', CustomSearch)
    // app.component('SortLabel', SortLabel)
    // app.component('ColumSortDialog', ColumSortDialog)
    // app.component('ExportButton', ExportButton)
    // app.component('ExportButtonAll', ExportButtonAll)
  },
}
